﻿using GN.Pay.Core.Entities;
using GN.Pay.Core.Values.TradeTransfers;
using GN.Pay.TradeChannel;
using GN.Pay.TradeChannel.Transfers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GN.Pay.Core.Services
{
    /// <summary>
    /// 交易转账申请服务
    /// </summary>
    public interface ITradeTransfersApplyService : IPayService
    {
        /// <summary>
        /// 转账申请
        /// </summary>
        /// <param name="apply">申请</param>
        /// <returns></returns>
        TradeTransfersApplyResult TransfersApply(TradeTransfersApplyInfo apply);

        /// <summary>
        /// 转账，向第三方通道执行，此接口不可对外Api
        /// </summary>
        /// <param name="apply">申请</param>
        TradeApplyResultState Transfers(TradeTransfersApply apply);
    }
}
